home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / pcw.zip / PCPCW.BAT < prev    next >
DOS Batch File  |  1991-12-10  |  1KB  |  32 lines

  1. @echo off
  2. :***************************************************************
  3. :* File Id.                     PCPCW.BAT                      *
  4. :* Author.                      Stan Milam.                    *
  5. :* Date Written.                15 Oct 90.                     *
  6. :*                                                             *
  7. :*              (c) Copyright 1990 by Stan Milam.              *
  8. :*                                                             *
  9. :* Used to compile with Power C.                               *
  10. :* This batch file is invoked from another batch file that     *
  11. :* passes the memory model parameter to use to compile the     *
  12. :* PC Windows library.                                         *
  13. :*                                                             *
  14. :***************************************************************
  15. :*
  16. if exist ..\pcpcw%1\model goto model
  17. md ..\pcpcw%1
  18. echo pcpcw%1 >..\pcpcw%1\model
  19. :model
  20. copy pc*.obj ..\pcpcw%1 >nul
  21. cd..\pcpcw%1
  22. pc /%1 /i..\pcw /o. /w /w-223 ..\pcw\pcpcw
  23. if errorlevel 1 goto error
  24. if exist ..\pcpcw%1.lib del ..\pcpcw%1.lib
  25. merge ..\pcpcw%1.lib @..\pcw\pcpcw.rsp
  26. echo  
  27. if errorlevel 0 goto end
  28. :error
  29. echo *** error building library ***
  30. :end
  31. cd ..\pcw
  32.